package com.example.s07configuration;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

@Data
@Component
@ConfigurationProperties(prefix = "supplier2")
public class Supplier2 {
    private String sname;
//    private Map<String,Object> contactway;
    private Contactway contactway;
}
